<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>hello</title>
</head>
<body>
  <h1>
    欢迎您！<span th:text="${username.toUpperCase().toLowerCase()}">xxx</span>

    <br>您的女朋友已经上线：<br>
    <ul>
      <li th:each="girl : ${girls}" th:text="${girl}"></li>
    </ul>
  </h1>
</body>
</html>